//
//  ImageDownLoadMgr.h
//  WoWeibo
//
//  Created by apple on 11-11-25.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>

@class PicCacheHelper;

@interface ImageDownLoadMgr : NSObject {
	NSOperationQueue *operationQueue;
	NSMutableDictionary *cachedImages;
	NSInteger capacityNum;
	NSMutableArray *cachedKey;
	
	NSLock *listLock;
    
    PicCacheHelper      *_cacheHelper;
}

- (id)init;
- (id)initWithCachedCapacity:(NSInteger)numItems;

- (void)dealloc;

- (UIImage *)cachedImageForURL:(NSURL *)url target:(id)object;
- (BOOL)removeAllCachedImage;

@end
